class Currency:

    def __init__(self,
                 symbol: str,
                 future_value_percentage: float,
                 future_price_accuracy: int,
                 future_quantity_accuracy: int
                 ):
        """

        :param symbol: 币种
        :param future_value_percentage: 合约面值相当于现货的百分比， 一般是10%，写作0.1
        :param future_price_accuracy: 合约价格精度, 2就代表小数点后两位
        :param future_quantity_accuracy: 合约最小下单数量的精度, 2就代表小数点后两位
        """
        self.symbol = symbol
        self.future_value_percentage = future_value_percentage
        self.future_price_accuracy = future_price_accuracy
        self.future_quantity_accuracy = future_quantity_accuracy


BTC = Currency('BTCUSDT', 0.1, 2, 2)
ETH = Currency('ETHUSDT', 0.1, 2, 2)
